<?php
 

abstract class Computer { 
    abstract function run();

}

final class NotebookComputer extends Computer { 
    public function run() {
    
    print( '我实现了');
    
}

}


 

$notebookcomputer = new NoteBookComputer(); $notebookcomputer->run();

 

